Forms, Element - File

 

Use

The input file element allows visitors to attach files to the form they are submitting. Presently neither Netscape nor MS Internet Explorer support the file element. (See discussion and background for more details).

Properties

ATTRIBUTE

REQUIRED?

DESCRIPTION

NAME=" "

Required

The name of the File element.

ACCEPT=" "

Required

The type(s) of files that will be accepted as attachments.

 

NOTE

For this example to work it must be inside form tags (<FORM .. ..> .. .. </FORM>). The entire form code, including all the examples, is ready for you to use.